import Vue from 'vue'
import Vonic from 'vonic'

// Page Components
import Index from './components/Index.vue'
import FindWork from './components/FindWork.vue'
import FindWorker from './components/FindWorker.vue'
import User from './components/User.vue'
import WorkerInfo from './components/WorkerInfo.vue'
import CompanyInfo from './components/CompanyInfo.vue'
import JobAdd from './components/JobAdd.vue'
// Routes
const routes = [
  { path: '', component: Index ,children:[
      {path:'/',component: FindWork},
      {path:'/FindWorker',component: FindWorker},
      {path:'/User',component: User},
      {path:'/WorkerInfo',component: WorkerInfo},
      {path:'/CompanyInfo',component: CompanyInfo},
      {path:'/JobAdd',component: JobAdd}
    ]
  }
]

Vue.use(Vonic.app, {
  routes: routes
})
